package com.flyco.modules.oms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.flyco.poi.excel.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
public class OmsOrderItemExcel {

    @Excel(name = "订单编号", width = 25)
    private String id;

    @Excel(name = "下单时间", width = 30, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Excel(name = "订单状态", needMerge=true, width = 15, dicCode = "order_status")
    private String status;

    @Excel(name = "经销商", width = 25)
    private String name;

    @Excel(name = "物料名称", width = 35)
    private String productName;

    @Excel(name = "物料编码", width = 25)
    private String productSkuCode;

    @Excel(name = "单价", width = 15)
    private java.math.BigDecimal realAmount;

    @Excel(name = "数量", width = 15)
    private Integer productQuantity;

    @Excel(name = "小计金额", width = 15)
    private java.math.BigDecimal totalRealAmount;

}
